package com.cc.dao.Impl;

import com.cc.dao.OrderDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository("orderDao1")
public class orderNewDaoImpl implements OrderDao {

    @Value("${name}")
    private String name;
    @Value("${newName}")
    private String newName;
    @Value("${money}")
    private String money;
    @Value("${colour}")
    private String colour;
    @Value("${newMoney}")
    private String newMoney;

    @Override
    public void HuaList() {
        System.out.println("你的手机为:"+name);
        System.out.println("手机价格为:" +money);
        System.out.println("手机颜色为" +colour);
    }

    @Override
    public void AppleList() {
        System.out.println("你的手机为:"+newName);
        System.out.println("手机价格为:" +newMoney);
        System.out.println("手机颜色为" +colour);
    }
}
